<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router'
import TopBar from './views/TopBar.vue';
</script>

<template>
  <div class="common-layout">
    <el-container>
      <el-header height="30px">
        <TopBar></TopBar>
      </el-header>
      <hr>
      <el-main style="background-color:aliceblue;">
        <RouterView class="container_class" />
      </el-main>
    </el-container>
  </div>
</template>

<style scoped>
hr {
  border-bottom: 2px solid rgb(63, 66, 68);
  width: 100%;
}
</style>
